.filter {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #F7F8FC;
  border-radius: 4px;
  z-index: 100;
  transition: width 0.3s ease;
  .filter-item {
    border: 1px solid transparent;
  }
  .filter-item-active {
    border-color:  red;
    border-radius: 4px;
  }
}

.filter {
  :global {
    .ant-btn {
      height: 28px;
      font-size: 12px;
      font-weight: 400;
      letter-spacing: 0px;
    }

    .ant-input-affix-wrapper {
      padding: 4px 0;
    }
    .ant-checkbox-wrapper,
    .ant-radio-wrapper {
      color: var(--color-text);
      font-size: 12px !important;
    }

    .ant-form-item-control-input {
        min-height: 0 !important;
    }
    .ant-form-item{
      margin-bottom: 0 !important;
    }
    .ant-collapse{
      margin-bottom: 6px;
    }
  }
}

.filter-expand-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: -16px;
  width: 16px;
  height: 40px;
  opacity: 1;
  border-radius: 0px 4px 4px 0px;
  background: #FFFFFF;
  box-shadow: 0px -1px 2px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-collapse-btn {
  font-size: 16px;
  margin-left: auto;
  cursor: pointer;
}

.expand {
  // width: 210px;
}

.collapse {
  width: 0;

  .filter-header,
  .filter-content,
  .filter-footer {
    padding: 0px;
  }
}

.filter-header {
  display: flex;
  align-items: center;
  column-gap: 6px;
  flex-shrink: 0;
  width: 100%;
  padding: 6px 12px;
  box-sizing: border-box;
  background: #ffffff;
  box-shadow: 0px -1px 2px rgba(0, 0, 0, 0.1);
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  overflow: hidden;
}

.filter-header .ant-btn {
  padding: 3px 10px;
  font-size: 12px;

  .anticon {
    width: 12px;
    height: 12px;
    margin-right: 4px;
  }

  .ant-btn>.anticon+span,
  .ant-btn>span+.anticon {
    margin-left: 0;
  }
}

.filter-content {
  overflow-y: scroll;
}

.filter-footer {
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  padding: 6px 12px;
  box-shadow: 0px -1px 2px rgba(0, 0, 0, 0.1);
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  overflow: hidden;
}



.filter .filter_input {
  background: #F7F8FC;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 18px;
  color: #333333;
  text-align: left;
  vertical-align: top;
  margin-bottom: 8px;
  padding: 5px 6px;
}

.quickSearchBox{
  display: flex;
  justify-content: space-between;
}

.quickSearchLeft{
  flex: 1;
  margin-right: 24px;
  display: flex;
}

.quickSearchRight{
  margin-right: 12px;
}

.selectBtnWrapper{
  padding: 0 8px;
  height: 30px;
  line-height: 30px;
  color:#333333;
  border-radius: 4px;
  border: 1px solid #CBCDD1;
  cursor: pointer;
  margin-right: 8px;
  &:hover{
    border-color: #407fff;
  }
  position: relative;
}

.isSelect{
  border-color: #407fff;
  color: #407fff;
}

//爆款商品
.formSelect {
  width: 140px;
  margin-right: 5px;
}

.formInput {
  width: 140px;
}

.icon {
  font-size: 16px;
  vertical-align: middle;
}

.selectAll {
  margin-top: 8px;
  margin-bottom: 8px;
  color: #0165d5;
  text-align: center;
  cursor: pointer;
}

.expandBox {
    cursor: pointer;
    font-size: 12px;
    width: 146px;
    height: 28px;
    opacity: 1;
    border-radius: 21px;
    background: rgba(236, 242, 255, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top:-28px;
    left: 50%;
    margin-left: -73px;
}

.searchButton {
    :global { 
        .ant-form-item-control-input-content {
            display: flex;
            align-items: center;
        }
    }  
}

.customSelectWrapper{
  position: relative;
  :global(.clearIcon){
    visibility: hidden;
    position:absolute;
    top:2px;
    right:12px;
    cursor: pointer;
  }
  :global(.ant-select-arrow){
    display: none;
  }
  &:hover{
    :global(.clearIcon){
      visibility: visible;
    }
  }
}

.expandBoxWrapper{
  width: 100%;
  height: 1px;
  background: rgba(236, 242, 255, 1);
  // display: flex;
  // justify-content: center;
  position: relative;
  margin: 24px 0 14px 0;

}

.hotFire{
  padding-top: 2px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}


.fashionBox {
  max-height: 460px;
  border-radius: 8px;
  overflow-y: auto;
  padding: 6px 12px 12px;
  color:black;
  font-size: 12px;
}

.fashionItem {
  display: flex;
  justify-content: space-around;
  :global(p){
    margin-bottom: 2px;
  }
  cursor: pointer;
  margin: 6px 0 12px 0;
}

.imageBox{
  width: 64px;
  position: relative;
  :global(span){
    position: absolute;
    top:0;
    right:0;
    background-color: #F04852;
    color:#FFF;
    display: inline-block;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
  }
}

.goodsInfo {
  margin: 0 4px;
  flex:1;
}

.orderNumBox {
  width: 12%;
  display: flex;
  align-items: center;
}

.goodsNumBox {
  width: 13%;
  display: flex;
  align-items: center;
}

.customSelectWrapper{
  position: relative;
  :global(.clearIcon){
    visibility: hidden;
    position:absolute;
    top:2px;
    right:12px;
    cursor: pointer;
  }
  :global(.ant-select-arrow){
    display: none;
  }
  &:hover{
    :global(.clearIcon){
      visibility: visible;
    }
  }
}